package com.qww.test16;


/**
 * @author qww
 * @date 2021-04-05 18:04
 */
public class Test16 {

    public static void main(String[] args) {
        printArr(new Object[]{1, 2, 'a', 4, 5, });
        printArr(new Object[]{"as", "df", 1.0});
        printArr(new Object[]{ 1, "3", new A(),});
    }

    public static void printArr(Object[] objs) {
        for (Object obj : objs) {
            System.out.print(obj + " ");
        }
        System.out.println();
    }
}

class A { }
